﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    public class Ordering
    {
        /// <summary>
        /// Define ordering for searching receipt
        /// </summary>
        /// <history>
        /// 12/05/2014 phat.vo: Create new
        /// </history>
        public class SearchingReceipt
        {
            public const int ReceiptedDate = 1;
            public const int CustomerName = 2;
            public const int ReceiptNo = 3;
            public const int Receiver = 4;
            public const int Payer = 5;
            public const int ReceiptAmount = 6;
        }

        /// <summary>
        /// Define ordering for searching customer
        /// </summary>
        /// <history>
        /// 12/07/2014 phat.vo: Create new
        /// </history>
        public class SearchingCustomer
        {
            public const int CustomerName = 1;
            public const int ContactName = 2;
        }

        /// <summary>
        /// Define ordering for searching stock in
        /// </summary>
        /// <history>
        /// 12/29/2014 phat.vo: Create new
        /// </history>
        public class SearchingStockIn
        {
            public const int DocumentNo = 1;
            public const int ContactName = 2;
            public const int StockInDate = 3;
            public const int Quantity = 4;
        }

        /// <summary>
        /// Define ordering for searching stock out
        /// </summary>
        /// <history>
        /// 12/29/2014 phat.vo: Create new
        /// </history>
        public class SearchingStockOut
        {
            public const int DocumentNo = 1;
            public const int StockInNo = 2;
            public const int TransferNo = 3;
            public const int CustomerName = 4;
            public const int StockedDate = 5;
            public const int Quantity = 6;
        }

        /// <summary>
        /// Define ordering for searching stock out
        /// </summary>
        /// <history>
        /// 12/29/2014 phat.vo: Create new
        /// </history>
        public class SearchingTransfer
        {
            public const int DocumentNo = 1;
            public const int StockInNo = 2;
            public const int CustomerName = 3;
            public const int StockedDate = 4;
            public const int Quantity = 5;
        }
    }
}
